
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>元数据 · Diboot基础框架</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-theme-vuejs-2/vue.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="文件.html" />
    
    
    <link rel="prev" href="用户角色权限.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                



<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../开始使用.html">
            
                <a href="../开始使用.html">
            
                    
                    开始使用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../开始使用/搭建环境.html">
            
                <a href="../开始使用/搭建环境.html">
            
                    
                    搭建环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../开始使用/使用framework.html">
            
                <a href="../开始使用/使用framework.html">
            
                    
                    使用diboot-framework
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../CRUD通用封装.html">
            
                <a href="../CRUD通用封装.html">
            
                    
                    CRUD通用封装
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../CRUD通用封装/Model基类.html">
            
                <a href="../CRUD通用封装/Model基类.html">
            
                    
                    Model基类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../CRUD通用封装/Service基类.html">
            
                <a href="../CRUD通用封装/Service基类.html">
            
                    
                    Service基类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../CRUD通用封装/Mapper基类与SQL.html">
            
                <a href="../CRUD通用封装/Mapper基类与SQL.html">
            
                    
                    Mapper基类与SQL
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../MVC通用封装.html">
            
                <a href="../MVC通用封装.html">
            
                    
                    MVC通用封装
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../MVC通用封装/Controller基类.html">
            
                <a href="../MVC通用封装/Controller基类.html">
            
                    
                    Controller基类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../MVC通用封装/CrudController基类.html">
            
                <a href="../MVC通用封装/CrudController基类.html">
            
                    
                    CrudController基类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../MVC通用封装/CrudRestController基类.html">
            
                <a href="../MVC通用封装/CrudRestController基类.html">
            
                    
                    CrudRestController基类
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../认证与安全.html">
            
                <a href="../认证与安全.html">
            
                    
                    认证与安全
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../认证与安全/jwt授权.html">
            
                <a href="../认证与安全/jwt授权.html">
            
                    
                    JWT认证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../认证与安全/CSRF防护.html">
            
                <a href="../认证与安全/CSRF防护.html">
            
                    
                    CSRF防护
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../认证与安全/XSS防护.html">
            
                <a href="../认证与安全/XSS防护.html">
            
                    
                    XSS防护
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../系统参数配置.html">
            
                <a href="../系统参数配置.html">
            
                    
                    系统参数配置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../系统参数配置/配置文件.html">
            
                <a href="../系统参数配置/配置文件.html">
            
                    
                    参数配置在文件中
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../系统参数配置/数据库表.html">
            
                <a href="../系统参数配置/数据库表.html">
            
                    
                    参数配置在数据库表中
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../系统日志记录.html">
            
                <a href="../系统日志记录.html">
            
                    
                    系统日志记录
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../系统日志记录/操作日志.html">
            
                <a href="../系统日志记录/操作日志.html">
            
                    
                    操作日志
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../系统日志记录/跟踪日志.html">
            
                <a href="../系统日志记录/跟踪日志.html">
            
                    
                    跟踪日志
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../常用工具类.html">
            
                <a href="../常用工具类.html">
            
                    
                    常用工具类
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../常用工具类/D.html">
            
                <a href="../常用工具类/D.html">
            
                    
                    日期时间类D
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../常用工具类/S.html">
            
                <a href="../常用工具类/S.html">
            
                    
                    字符串类S
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../常用工具类/V.html">
            
                <a href="../常用工具类/V.html">
            
                    
                    数据校验类V
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../常用工具类/BeanUtils.html">
            
                <a href="../常用工具类/BeanUtils.html">
            
                    
                    Bean工具类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.5" data-path="../常用工具类/JSON.html">
            
                <a href="../常用工具类/JSON.html">
            
                    
                    Json工具类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.6" data-path="../常用工具类/Encryptor.html">
            
                <a href="../常用工具类/Encryptor.html">
            
                    
                    加解密类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.7" data-path="../常用工具类/IdGenerator.html">
            
                <a href="../常用工具类/IdGenerator.html">
            
                    
                    ID生成器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.8" data-path="../常用工具类/Query.html">
            
                <a href="../常用工具类/Query.html">
            
                    
                    条件构造器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../通用基础模型.html">
            
                <a href="../通用基础模型.html">
            
                    
                    通用基础模型
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="用户角色权限.html">
            
                <a href="用户角色权限.html">
            
                    
                    用户角色权限
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.9.2" data-path="元数据.html">
            
                <a href="元数据.html">
            
                    
                    元数据
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="文件.html">
            
                <a href="文件.html">
            
                    
                    文件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>



                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                

                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >元数据</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x5143;&#x6570;&#x636E;"><b>1. </b>&#x5143;&#x6570;&#x636E;</a></li><ul><li><span class="title-icon "></span><a href="#&#x76F8;&#x5173;&#x5C5E;&#x6027;"><b>1.1. </b>&#x76F8;&#x5173;&#x5C5E;&#x6027;</a></li><li><span class="title-icon "></span><a href="#&#x76F8;&#x5173;&#x64CD;&#x4F5C;"><b>1.2. </b>&#x76F8;&#x5173;&#x64CD;&#x4F5C;</a></li></ul></ul></div><a href="#&#x5143;&#x6570;&#x636E;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x5143;&#x6570;&#x636E;"><a name="&#x5143;&#x6570;&#x636E;" class="anchor-navigation-ex-anchor" href="#&#x5143;&#x6570;&#x636E;"><i class="fa fa-link" aria-hidden="true"></i></a>1. &#x5143;&#x6570;&#x636E;</h1>
<blockquote>
<p>&#x7CFB;&#x7EDF;&#x5143;&#x6570;&#x636E;&#xFF08;&#x6570;&#x636E;&#x5B57;&#x5178;&#xFF09;&#x662F;&#x7CFB;&#x7EDF;&#x6240;&#x9700;&#x7684;&#x6761;&#x76EE;&#x914D;&#x7F6E;&#xFF0C;&#x5E7F;&#x6CDB;&#x5E94;&#x7528;&#x4E8E;&#x7CFB;&#x7EDF;&#x7684;&#x679A;&#x4E3E;&#x503C;&#x914D;&#x7F6E;&#x3001;&#x4E0B;&#x62C9;&#x5217;&#x8868;&#x9009;&#x9879;&#x7B49;&#x573A;&#x666F;&#x3002;</p>
</blockquote>
<h2 id="&#x76F8;&#x5173;&#x5C5E;&#x6027;"><a name="&#x76F8;&#x5173;&#x5C5E;&#x6027;" class="anchor-navigation-ex-anchor" href="#&#x76F8;&#x5173;&#x5C5E;&#x6027;"><i class="fa fa-link" aria-hidden="true"></i></a>1.1. &#x76F8;&#x5173;&#x5C5E;&#x6027;</h2>
<blockquote>
<p>framework&#x63D0;&#x4F9B;&#x4E86;&#x5143;&#x6570;&#x636E;&#x7684;&#x9ED8;&#x8BA4;&#x5B9E;&#x73B0;&#xFF0C;&#x5C06;&#x5143;&#x6570;&#x636E;&#x6A21;&#x578B;&#x5B9A;&#x4E49;&#x4E3A;&#x5982;&#x4E0B;&#x5C5E;&#x6027;&#xFF1A;</p>
</blockquote>
<ul>
<li>&#x7236;&#x8282;&#x70B9; <a href="">parentId</a></li>
<li>&#x7C7B;&#x578B; <a href="">type</a></li>
<li>&#x914D;&#x7F6E;&#x9879;&#x663E;&#x793A;&#x503C; <a href="">itemName</a></li>
<li>&#x914D;&#x7F6E;&#x9879;&#x5B58;&#x50A8;&#x503C; <a href="">itemValue</a></li>
<li>&#x6392;&#x5E8F;&#x53F7; <a href="">sortId</a></li>
<li>&#x7CFB;&#x7EDF;&#x9ED8;&#x8BA4; <a href="">system</a></li>
<li>&#x662F;&#x5426;&#x53EF;&#x7F16;&#x8F91; <a href="">editable</a></li>
</ul>
<h2 id="&#x76F8;&#x5173;&#x64CD;&#x4F5C;"><a name="&#x76F8;&#x5173;&#x64CD;&#x4F5C;" class="anchor-navigation-ex-anchor" href="#&#x76F8;&#x5173;&#x64CD;&#x4F5C;"><i class="fa fa-link" aria-hidden="true"></i></a>1.2. &#x76F8;&#x5173;&#x64CD;&#x4F5C;</h2>
<blockquote>
<p>&#x76F8;&#x5173;&#x7684;&#x6570;&#x636E;&#x5E93;&#x8868;&#x4E3A;metadata&#xFF0C;model&#x5BF9;&#x8C61;&#x4E3A;Metadata&#xFF0C;service&#x4E3A;MetadataService&#x3002;</p>
</blockquote>
<p><strong>service&#x9664;CRUD&#x5916;&#xFF0C;&#x9ED8;&#x8BA4;&#x63D0;&#x4F9B;&#x5982;&#x4E0B;&#x5B9E;&#x73B0;&#x63A5;&#x53E3;&#xFF1A;</strong></p>
<ul>
<li>&#x83B7;&#x53D6;&#x67D0;&#x7C7B;&#x578B;&#x5143;&#x6570;&#x636E;&#x7684;&#x5B50;&#x9879;&#x5217;&#x8868;</li>
</ul>
<pre><code class="lang-java"><span class="hljs-function">List&lt;Metadata&gt; <span class="hljs-title">getChildrenByType</span><span class="hljs-params">(String type)</span></span>;
</code></pre>
<ul>
<li>&#x83B7;&#x53D6;&#x67D0;&#x79CD;&#x7C7B;&#x578B;&#x7684;&#x5143;&#x6570;&#x636E;&#x7684;&#x5B50;&#x9879;K-V&#x5BF9;</li>
</ul>
<pre><code class="lang-java">List&lt;Map&lt;String, Object&gt;&gt; getKeyValuePairListByType(String type);
</code></pre>
<ul>
<li>&#x83B7;&#x53D6;&#x540D;&#x79F0;&#x7C7B;&#x578B;&#x5BF9;&#x7684;&#x5217;&#x8868;</li>
</ul>
<pre><code class="lang-java">List&lt;Map&lt;String, Object&gt;&gt; getNameTypePairList();
</code></pre>
<ul>
<li>&#x83B7;&#x53D6;&#x5230;&#x503C;&#x548C;&#x540D;&#x79F0;&#x7684;map</li>
</ul>
<pre><code class="lang-java"><span class="hljs-function">Map&lt;Object, String&gt; <span class="hljs-title">getValueKeyMapByType</span><span class="hljs-params">(String type)</span></span>;
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                

            </div>

            
                
                <a href="用户角色权限.html" class="navigation navigation-prev " aria-label="Previous page: 用户角色权限">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="文件.html" class="navigation navigation-next " aria-label="Next page: 文件">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"元数据","level":"1.9.2","depth":2,"next":{"title":"文件","level":"1.9.3","depth":2,"path":"通用基础模型/文件.md","ref":"通用基础模型/文件.md","articles":[]},"previous":{"title":"用户角色权限","level":"1.9.1","depth":2,"path":"通用基础模型/用户角色权限.md","ref":"通用基础模型/用户角色权限.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","sharing-plus","anchor-navigation-ex","theme-vuejs-2"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"theme-vuejs-2":{},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"mode":"float","pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"showLevel":true,"tocLevel1Icon":"fa fa-hand-o-right","tocLevel2Icon":"fa fa-hand-o-right","tocLevel3Icon":"fa fa-hand-o-right","showGoTop":true,"isShowTocTitleIcon":true,"printLog":false,"multipleH1":true,"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false}},"sharing":{"qq":true,"all":["weibo","qq","linkedin","qzone","douban"],"douban":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"viber":false,"stumbleupon":false,"qzone":true,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Diboot基础框架","gitbook":"*","description":"Diboot基础框架"},"file":{"path":"通用基础模型/元数据.md","mtime":"2018-11-08T08:51:40.509Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-10T15:08:25.671Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

